home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 2_8.lha / 2_8 / 2_8b.c < prev    next >
Text File  |  1993-08-08  |  448b  |  18 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <stdio.h>
  6. include <values.h>
  7.  
  8. nt main(int, char**)
  9.  
  10.    printf("maxshort=%d\n", MAXSHORT);
  11.    printf("minshort=%d\n", HIBITS);
  12.    printf("maxlong=%d\n", MAXLONG);
  13.    printf("minlong=%d\n", HIBITL);
  14.    printf("maxshort+1=%d\n", MAXSHORT + 1);
  15.    printf("maxlong+1=%d\n", MAXLONG + 1);
  16.    return 0;
  17.  
  18.